package com.keyancompany.zhongbaopingtai.activity;

import android.support.v7.internal.VersionUtils;
import android.support.v7.widget.Toolbar;
import android.widget.TextView;

import com.keyancompany.zhongbaopingtai.R;
import com.keyancompany.zhongbaopingtai.utils.AppUtils;

import butterknife.Bind;
import butterknife.BindString;

public class AboutActivity extends BaseActivity {
    //@SuppressLint("ResourceType")
    @BindString(R.string.about_text)
    String title;

    @Bind(R.id.toolbar)
    Toolbar toolbar;
    @Bind(R.id.version)
    TextView version;

    @Override
    protected int getContentViewId() {
        return R.layout.activity_about;
    }

    @Override
    protected int getMenuId() {
        return 0;
    }

    @Override
    protected void initToolBar() {
        initToolBar(toolbar, title);
    }

    @Override
    protected void setUpViews() {
        version.setText(AppUtils.getVersionName(this));

    }

}
